package name.matthewgreet.example2.view; import name.matthewgreet.example2.action.ViewGameListAction.GameCategory; import name.matthewgreet.example2.common.AbstractDetailDisplay; import name.matthewgreet.example2.common.ListCache; import name.matthewgreet.example2.dto.GameDTO; public class GameDetailDisplay extends AbstractDetailDisplay<GameDisplay,GameDTO> { public GameDetailDisplay(ListCache<?,GameDTO> listCache) throws Exception { super(listCache); } @Override protected GameDisplay formatRecord(GameDTO game) { return new GameDisplay(game, GameCategory.ALL); } }